package com.youbug;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.session.config.annotation.web.http.EnableSpringHttpSession;

import java.util.TimeZone;

@EnableSpringHttpSession // 整合redis作为session存储
@SpringBootApplication
@EnableScheduling
@EnableCaching
@EnableRabbit
public class Application {

	public static void main(String[] args) {
		TimeZone timeZone = TimeZone.getTimeZone("UTC+8");
		TimeZone.setDefault(timeZone);
		SpringApplication.run(Application.class, args);//15147632  041001800105  499098682489
	}

}
